home *** CD-ROM | disk | FTP | other *** search
- ' NEWS.BAS
- ' This program demonstrates string concatenation.
-
- CONST STRUCTURE$ = "Bridge"
-
- DIM action AS STRING * 10
- action = "is falling"
-
- direction$ = "down"
-
- CLS
-
- INPUT "Please enter the name of a city: ", cityName$
-
- PRINT
- PRINT "News Flash: ";
- PRINT cityName$ + " " + STRUCTURE$ + " " + action + " " + direction$ + "!"
-
-